/*
Theme Name: jk_standard
Theme URI: http://www.8659design.se/jk_standard
Author: 8659 Design
Author URI: http://www.8659.se
Description: This is the standard template from 8659 Design for jarpehultkonsulting.se
Version: 0.1
License: All rights reserved.
License URI: http://www.8659.se/licenses
Tags:
Text Domain: jarpehultkonsulting.se

*/



/* CSS Document */

/* =Reset
-------------------------------------------------------------- */
 
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
html {
    font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
    overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
    -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
    -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}
ol, ul, li {
    list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
    border-collapse: separate;
    border-spacing: 0;
}
caption, th, td {
    font-weight: normal;
    text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}
a:focus {
    outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
    outline: 0;
}
a img {
    border: 0;
}


/* =Global
----------------------------------------------- */
 
body,
button,
input,
select,
textarea {
    color: #404040;
    font-family: sans-serif;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.5;
}


html { 

			-webkit-background-size: cover;
			-moz-background-size: cover;
			-o-background-size: cover;
			background-size: cover;
			
		}
 
/* Headings */
h1,h2,h3,h4,h5,h6 {

font-family: 'Lora', serif;	
	font-style: normal;
	font-weight: 300;
}
h1{
font-size: 22px; 
		font-weight: bold;

}
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}
 
/* Text elements */
p {
    margin-bottom: 1.5em;
}
ul, ol {
    margin: 0 0 1.5em 3em;
}
ul {
    list-style: disc;
}
ol {
    list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
    margin-bottom: 0;
    margin-left: 1.5em;
}
dt {
    font-weight: bold;
}
dd {
    margin: 0 1.5em 1.5em;
}
b, strong {
    font-weight: bold;
}
dfn, cite, em, i {
    font-style: italic;
}
blockquote {
    margin: 0 1.5em;
}
address {
    margin: 0 0 1.5em;
}
pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    padding: 1.6em;
    overflow: auto;
    max-width: 100%;
}
code, kbd, tt, var {
    font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}
mark, ins {
    background: #fff9c0;
    text-decoration: none;
}
sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    bottom: 1ex;
}
sub {
    top: .5ex;
}
small {
    font-size: 75%;
}
big {
    font-size: 125%;
}
figure {
    margin: 0;
}
table {
    margin: 0 0 1.5em;
    width: 100%;
}
th {
    font-weight: bold;
}
button,
input,
select,
textarea {
    font-size: 100%; /* Corrects font size not being inherited in all browsers */
    margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
    vertical-align: baseline; /* Improves appearance and consistency in all browsers */
    *vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
    line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
    *overflow: visible;  /* Corrects inner spacing displayed oddly in IE6/7 */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    
    cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
    -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
    font-size: 12px;
    font-size: 1.4rem;
    line-height: 1;
    padding: 1.12em 1.5em 1em;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    
}
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
    padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
    -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
    box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
    -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
    border: 0;
    padding: 0;
}
input[type=text],
input[type=email],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
    color: #111;
}
input[type=text],
input[type=email] {
    padding: 3px;
}
textarea {
    overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
    padding-left: 3px;
    vertical-align: top; /* Improves readability and alignment in all browsers */
    width: 98%;
}

html, body
{
    height: 100%;
}

.bg{
  background: url(https://jarpehult.se/wp-content/themes/jk_standard/images/bilder/DSC_0581_bw.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
background-position: center top 115px;
	position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
}

.wrapper {
max-width: 1140px; min-height:100%; margin:0 auto; 
	
 }

.breakhereplease{ clear:both; min-height:55px;}

.header{ width:100%;  }
.footer{ width:100%;  }

h1{ line-height: 30px; color:#95d600; margin-bottom:20px; text-align:left; text-transform:uppercase; }

.left_sidebar{ width:100%;}
.left_sidebar{ width:100%; }
.content{  

 }
.col-1-2 h2{ line-height:1.2em; margin-bottom:-65px; position:relative; height:65px; width:100%; background-color: rgba(0, 0, 0, 0.7); color:#fff; text-align:center; font-size:2em; padding:10px;}
.content-right { }
.content-left { }
.right_sidebar{ width:100%;}
.right_sidebar{ width:100%; }
.social img{padding-left: 2em; padding-right: 2em; padding-bottom: 2em;}
.black{color:#fff; background:#000}
.white{
width:100%; 
font-family: 'Josefin Sans', sans-serif;
font-weight: 300; 
font-size:22px; 
line-height:24px; 
padding-left:10%;  
padding-right:10%; 
color:#000; 
margin-bottom:25px; 
padding-bottom:35px; 
margin-top:35px;
display:block; 
max-width: 1140px; margin:0 auto; 
background:#FFF;}
.apart-white{color:#000; background:#fff; margin-bottom:25px; padding-bottom:35px; margin-top:35px; border-bottom:5px solid #636363;}
.facts{ display: block; padding:20px; width:100%; background:#a9dddd; margin-bottom:0px;}
.facts h3{ color:#fff; text-transform:uppercase; }
.facts-headline{ font-weight:300;}

.interest{ display: block; color:#636363; padding:20px; width:100%; background:#fff6ce; margin-bottom:25px; text-align:center;text-transform:uppercase; cursor:pointer; }
.interest a{color:#636363;}
.interest a:hover{color:#636363;}

.show_hide_interest{ display: block; color:#636363; min-height:150px; padding:20px; width:100%; background:#fff6ce; margin-top:-25px; margin-bottom:25px; display:none;  text-align:center;text-transform:uppercase; }

.partners{text-align:center; margin-top:40px; margin-bottom:20px; font-size:12px;}

.hideme
{
    opacity:0;
}

hr {border:4px solid #a9dddd; margin:0;}
 
/* Links */
a {
    color: #000;
}
a:visited {
    color: #000;
}
a:hover,
a:focus,
a:active {
    color: #000;
}


/* Alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}
 
/* Text meant only for screen readers */
.assistive-text {
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

.bigger p{font-size:30px !important; line-height: 32px !important;}

.img-text-placement{vertical-align:text-bottom;}
 
/* =Header
---------------------------------------------- */

.header-top {background: #329cd3; height:10px;}
.header img { max-width:100% !important;
    height:auto;
    display:block;
	margin-top:10px;

 }
#header-logo { text-align:center; margin-bottom: 20px; margin-top: 10px; }

#header-logo img { width:auto;
    height:85px;
    display:block;
margin: 0 auto;
 }

.header {margin-bottom: 25px; }

/* =Footer
---------------------------------------------- */

.footer{background: #95d600; color:#fff; padding:10px; height:50px; width:100%; text-align:center; position:absolute; bottom:0;}
 
/* =Menu
----------------------------------------------- */
 
.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%;
}
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}
.main-navigation li {
    float: left;
    position: relative;
}
.main-navigation a {
    display: block;
    text-decoration: none;
}
.main-navigation ul ul {
    -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    display: none;
    float: left;
    position: absolute;
        top: 1.5em;
        left: 0;
    z-index: 99999;
}
.main-navigation ul ul ul {
    left: 100%;
    top: 0;
}
.main-navigation ul ul a {
    width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
    display: block;
}
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
}
 
/* Small menu */
.menu-toggle {
    cursor: pointer;
}
.main-small-navigation .menu {
    display: none;
}
 
/* =Content
----------------------------------------------- */
 

.pussel{
	display:block;
	width: 52%; height: 300px;
background:#fff; 
	padding:40px;
 position: relative; margin-left:0; margin-top:150px;
	text-align:center;
}

.pussel h1{text-align:center;}

.pussel:before, .pussel:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
.pussel:after
{
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}


.sticky {
}
.hentry {
    margin: 0 0 1.5em;
}
.entry-meta {
    clear: both;
}
.byline {
    display: none;
}
.single .byline,
.group-blog .byline {
    display: inline;
}
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}
.page-links {
    clear: both;
    margin: 0 0 1.5em;
}
 
/* =Asides
----------------------------------------------- */
 
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
    display: none;
}
 
/* =Media
----------------------------------------------- */
 
.site-header img,
.entry-content img,
.comment-content img,
.widget img {
    max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
.site-header img,
.entry-content img,
img[class*="align"],
img[class*="wp-image-"] {
    height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.site-header img,
.entry-content img,
img.size-full {
    max-width: 100%;
    width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}
.wp-caption {
    border: 1px solid #ccc;
    max-width: 100%;
}
.wp-caption.aligncenter,
.wp-caption.alignleft,
.wp-caption.alignright {
    margin-bottom: 1.5em;
}
.wp-caption img {
    display: block;
    margin: 1.2% auto 0;
    max-width: 98%;
}
.wp-caption-text {
    text-align: center;
}
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}
.site-content .gallery {
    margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-content .gallery a img {
    border: none;
    height: auto;
    max-width: 90%;
}
.site-content .gallery dd {
    margin: 0;
}
.site-content .gallery-columns-4 .gallery-item {
}
.site-content .gallery-columns-4 .gallery-item img {
}
 
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
    max-width: 100%;
}
 
/* =Navigation
----------------------------------------------- */
 
.site-content .site-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}
.site-content .nav-previous {
    float: left;
    width: 50%;
}
.site-content .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}
 
/* =Comments
----------------------------------------------- */
 
.bypostauthor {
}
 
/* =Widgets
----------------------------------------------- */
 
.widget {
    margin: 0 0 1.5em;
}
 
/* Search widget */
#searchsubmit {
    display: none;
}

/* =Menu & releated css
----------------------------------------------- */
#showOnScrollMenu {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    z-index: 999;
}

.blackMenyDiv {display:none; visibility: collapse; background:#000; position:fixed; top:0; width:100%; height:75px; z-index:10;}

#menu-header {

    display: block;
    margin: 0 auto;
    width: 100%;
    height: 144px;
	clear:both;
    text-align: left; 
background-color: #fff;
}

#menu-header {
font-family: 'Lato', sans-serif;
font-style: normal;
font-weight: 400;
text-transform:uppercase;
font-size:16px;
}
#menu-header ul,
    div.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
 
#menu-header li,
    div.menu li {
    display: inline-block;
    position: relative;
	background: #fff;

}

#menu-header li,
    div.menu li {
    display: inline-block;
    position: relative;
}
 
#menu-header ul ul {
    display: none;
    position: absolute;
    top: 38px;
    left: 0;
    display: inline-block;
    width: 180px;
    z-index: 99999;
}

#menu-header a {
    color: #2c2c2c;
    display: block;
    line-height: 144px;
    padding: 0 10px;
    text-decoration: none;
    font-weight: normal;

}
#menu-header ul ul {
    display: none;

}

#menu-header ul li:hover > ul {
    display: block;

}

#menu-header li:hover > a,
#menu-header ul ul :hover > a {
    border-bottom: #329cd3 solid 3px;
    color: #329cd3;
 
}

#menu-header ul ul a {
    background: #333;
    line-height: 1em;
    padding: 10px;
    width: 160px;
    height: auto;
}

#menu-header ul li.current_page_item > a,
#menu-header ul li.current-menu-ancestor > a,
#menu-header ul li.current-menu-item > a,
#menu-header ul li.current-menu-parent > a {
    color: #fff;
	background: #e72549;

   
}

#menu-header ul li.current_page_item > a:hover,
#menu-header ul li.current-menu-ancestor > a:hover,
#menu-header ul li.current-menu-item > a:hover,
#menu-header ul li.current-menu-parent > a:hover {
    color: #fff;
   
}

/* MENU EXTRA HEADER */
#extra-menu {
	background: #000;
    display: block;
    float: left;
    margin: 0 auto;
    width: 100%;
font-size:14px;
    height: 82px;
    text-align: center;
	font-family: 'Lato', sans-serif;
font-style: normal;
font-weight: 400;
text-transform:uppercase;
	text-transform:uppercase;
} 





#extra-menu ul,
    div.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;

}


 
#extra-menu li,
    div.menu li {
    display: inline-block;
    position: relative;
}

#extra-menu li,
    div.menu li {
 display: inline-block;
    position: relative;
}
 
#extra-menu ul ul {
    display: none;
    position: absolute;
    top: 38px;
    left: 0;
    display: inline-block;
    width: 180px;
    z-index: 99999;
}

#extra-menu a {
    color: #fff;
    display: block;
    line-height: 41px;
    padding: 0 10px;
    text-decoration: none;
    font-weight: normal;
}

#extra-menu ul li > ul {
    display: none;
}

#extra-menu ul li:hover > ul {
    display: block;
}

#extra-menu li:hover > a,
#extra-menu ul ul :hover > a {
    background: #329cd3;
    color: #fff;
}

#extra-menu ul ul a {
    background: #333;
    line-height: 1em;
    padding: 10px;
    width: 160px;
    height: auto;
}

#extra-menu ul li.current_page_item > a,
#extra-menu ul li.current-menu-ancestor > a,
#extra-menu ul li.current-menu-item > a,
#extra-menu ul li.current-menu-parent > a {
    color: #fff;
background: #e72549;
}

/*  MOBILE MENU  */
#nav-toggle-text{display:block; margin-left:auto; margin-right:auto; text-align:center; width:150px; text-transform:uppercase; font-size:2.1em; padding-left:35px;margin-top:-15px; text-decoration:none; }
#nav-toggle{display:block; margin-left:auto; margin-right:auto; text-align:center;  width:150px; }
#nav-toggle #nav-toggle-bar, #nav-toggle #nav-toggle-bar:before, #nav-toggle #nav-toggle-bar:after {
  cursor: pointer;
  border-radius: 1px;
  height: 5px;
  width: 35px;
  background: black;
  position:absolute;
  display: block;
  content: '';
}
#nav-toggle #nav-toggle-bar:before {
  top: -10px;
}
#nav-toggle #nav-toggle-bar:after {
  bottom: -10px; 
}

#nav-toggle #nav-toggle-bar, #nav-toggle #nav-toggle-bar:before, #nav-toggle #nav-toggle-bar:after {
  transition: all 500ms ease-in-out;
}
#nav-toggle.active #nav-toggle-bar {
  background-color: transparent;
}
#nav-toggle.active #nav-toggle-bar:before, #nav-toggle.active #nav-toggle-bar:after {
  top: 0;
}
#nav-toggle.active #nav-toggle-bar:before {
  transform: rotate(45deg);
}
#nav-toggle.active #nav-toggle-bar:after {
  transform: rotate(-45deg);
}
#mobile-menu-header ul,
    div.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;

}

#mobile-menu-header a{display:block; text-align:center; width:100%; padding:20px; border-bottom: #959595 solid 1px;}
#mobile-menu-header a{ text-decoration:none; text-transform:uppercase;}

#mobile-menu-header li.current_page_item > a,
#mobile-menu-header li.current-menu-ancestor > a,
#mobile-menu-header ul li.current-menu-item > a,
#mobile-menu-header ul li.current-menu-parent > a { color: #fa33c4; border-bottom: #fa33c4 solid 1px; }
#mobile-menu-header li:hover > a,
#mobile-menu-header ul ul :hover > a { background: #333; color: #fff; border-bottom: #fa33c4 solid 1px; }

/* #### Popup with content #### */
.md-content h3 {
background:#fff;
    color: #95d600;
	opacity: 1;
 
}
.md-modal {
    
    width: 80%;
    max-width: 1230px;
}

.md-content{
    border: 1px solid #95d600;
	color: #000;
background: #fff;
}

.md-content > DIV{
    overflow:auto;
}

.md-show.md-effect-16 ~ .md-overlay {
    background: rgba(255,255,255,0.5);
}



.md-close {
    display: block;
    position: absolute;
    right: -18px;
    top: -18px;
    background: #000;
    color: #fff;
    font-size: 22px !important;
    padding: 10px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
	border: 0px;
}

.popupContent{
	width: 50%;
float: left;
padding-right: 25px;
text-align: center;
font-size: 20px;
	
}

.popupImg{
	width:50%; float:left;
	
}

.popupImg img{
	width:100%; height:auto;
}
.pussel button{ 
border: 1px solid #95d600;
	color: #fff;
background: #95d600;}
.pussel button:hover{ 
border: 1px solid #95d600;
	color: #000;
background: #fff;}

.pusselCorner {width:150px; height:auto; position: absolute;
    left: -50px;
    bottom: -36px;}


/* #### Mobile Phones Portrait #### */
@media screen and (max-width: 480px){
 #menu-header { display: none; visibility: collapse; }
#extra-menu  { display: none; visibility: collapse; }
.blackMenyDiv  { display:block; visibility:visible;}
h1 {font-size: 24px;}
}

/* #### Mobile Phones Landscape #### */
@media screen and (max-width: 790px) and (orientation: landscape){
 #menu-header { display: none; visibility: collapse; }
#extra-menu  { display: none; visibility: collapse; }
.blackMenyDiv  { display:block; visibility:visible; }



}






/* #### Mobile Phones Portrait or Landscape #### */
@media screen and (max-width: 1190px){
	
	.pussel {
    height: 450px;
    margin-top: 50px;
}
	
	.wrapper {
    padding-left: 25px;
}
	
	button {
    width: 100%;
    margin-bottom: 10px;
}
	

	.popupImg {
    width: 100%;
}
	
.popupContent {
    width: 100%;
    font-size: 16px;
}
	

}





/* #### Mobile Phones Portrait or Landscape #### */
@media screen and (max-width: 790px){
 #menu-header { display: none; visibility: collapse; }
#extra-menu  { display: none; visibility: collapse; }
.blackMenyDiv  { display:block; visibility:visible; }

#revision img{clear:both !important; width:100% !important; max-width:100% !important;  height:auto !important; margin: 0 auto !important; float:none  !important; margin-bottom:20px  !important;}
#redovisning img{clear:both !important; width:100% !important; max-width:100% !important;  height:auto !important; margin: 0 auto !important; float:none  !important; margin-bottom:20px  !important;}

#header-logo img {
    display: block;
    height: auto;
    margin: 0 auto;
    width: 80%;
}
	
	.bg {
    background-position: center top 165px;
}

	
	.pussel {
    height: 450px;
    margin-top: 50px;
}
	
	.wrapper {
    padding-left: 25px;
}
	
	button {
    width: 100%;
    margin-bottom: 10px;
}
	
	.footer {
    height: 60px;
}
	
.footer-center{width:100%; display:block; margin:0 auto;}
.footer-test form{margin-top:35px;}
.footer-left{float:none; width:100%}
.footer-left img{width:100% !important; height: auto !important; display: block; margin: 0 auto;}
.footer-right{float:none; width:100%}
	

	

}

/* #### iPhone 4+ Portrait or Landscape #### */
@media screen and (max-width: 790px) and (-webkit-min-device-pixel-ratio: 2){
 #menu-header { display: none; visibility: collapse; }
#extra-menu  { display: none; visibility: collapse; }
.blackMenyDiv  { display:block; visibility:visible;}
#nav-toggle {display:display;}
#nav-toggle-text {display:display;}


}




/* #### Desktops #### */
@media screen and (min-width: 790px){
  	#menu-header { display:block;}
	#extra-menu  { display:block;}
	#nav-toggle {display:none;}
	#nav-toggle-text {display:none;}
}

/* #### Max-width 710px #### */
@media screen and (max-width: 710px){
	
	.pussel {
    height: auto;
		width:100%;
    margin-top: 400px;
	
}
	
	.wrapper {
    padding-left: 0px;
}
	
	.footer {
    position: relative;
}
	
	.bg{position: relative; background-position: right top 115px;}
	
}


/* #### Max-width 680px #### */
@media screen and (max-width: 710px){
	
	

	
	.bg{
  background: url(http://jarpehult.se/wp-content/themes/jk_standard/images/bilder/DSC_0581_bw_m.jpg); 

	position: relative;
background-size: contain;
background-position: center top 100px;
		    background-repeat:no-repeat;

}
	.pussel{margin-top: 300px;}
	
	.footer{font-size:12px}
	
}

@media only screen 
  and (max-device-width: 980px)
  and (orientation: landscape) {
	  
.popupImg {
    display:none;
}

}

